# -*- coding:utf-8 -*-
# created by jinss

# 生成100个key的字典
dict = {}
for i in range(100):
    dict[f"{i}"] = i

print(dict)

# 把value值大于5的打印出来
dict1 =  {'k0': 0, 'k1': 1, 'k2': 2, 'k3': 3, 'k4': 4, 'k5': 5, 'k6': 6, 'k7': 7, 'k8': 8, 'k9': 9}
for k in dict1:
    if dict1[k] > 5:
        print(dict1[k])

# 把value值是偶数的改为-1
for k in dict1:
    if dict1[k] % 2 == 0:
        dict1[k] = -1

print(dict1)

# 员工字典
employee_dict = {
    'jinss': [28, 66666, 'CTO']
}

print(employee_dict)